import { defineAmisPlugin,getBaseFormItem, getInputTpl } from '../../base/util';
import CustomerHelp from './fc';
import type { IProps } from './interface';

export default defineAmisPlugin<IProps>(() => {
    return {
        component: CustomerHelp,
        options: getBaseFormItem({
            type: 'customer-help', order: -6999, name: '客户帮助', icon: 'FileSearchOutlined',xtype:'CustomerHelp',
            valueLabel: true,
            tpls: [
                // getInputTpl('codeList', { type: "array",label: 'codeList',  items: {
                //     type: 'input-text',
                //     clearable: false
                //   }}),
                getInputTpl('multiple', { type: "switch", label: "多选" }),
                getInputTpl('placeholder', { label: '提示文本' }),
            ]
        })
    };
});
